/**
 * 指標選取指定的範圍
 * @param e
 * @param start
 * @param end
 * 
 * @author anty.wen
 */
function selectRange(e, start, end) {
	e.focus();
	if (e.setSelectionRange)
		e.setSelectionRange(start, end);
	else if (e.createTextRange) {
		e = e.createTextRange();
		e.collapse(true);
		e.moveEnd('character', end);
		e.moveStart('character', start);
		e.select();
	}
}